package com.liu.dao;

import com.liu.dto.CollectDTO;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author 老刘Matthew
 * @Timestamp 2022/7/15 13:41
 * @Description
 */
public interface IFavoriteDao extends IGenericDao<CollectDTO>{

    //收藏电子书，会员收藏信息
    List<CollectDTO> queryFavoriteByUser_id(Integer user_id) throws SQLException;

    //删除收藏记录
    Integer delete(String author_name) throws SQLException;

}
